Skip to content

chore(paper/particles): update for 26.3 - #814

Open
spa77k wants to merge 2 commits into
PaperMC:mainfrom
spa77k:docs/particles-26.3
Open

spa77k wants to merge 2 commits into
PaperMC:mainfrom
spa77k:docs/particles-26.3

Conversation

@spa77k

@spa77k spa77k commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Closes #801

Updates the particles guide for the 26.3 API changes:

  • Documents Particle.RandomizationType (DEFAULT, ALTERNATIVE, ALTERNATIVE_WITH_SPEED) in the count section, based on its Javadoc, and how to select it with ParticleBuilder.randomizationType(...) or the new spawnParticle(...) overload.
  • Replaces the deprecated ParticleBuilder.extra(...) with speed(...) in the text and examples, and notes that the speed can now be set per axis.
  • Bumps the page version to 26.3.

Checked with astro build locally.

@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
papermc-docs ✅ Ready (View Log) Visit Preview 31fe944

@Privatech38 Privatech38 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, love jow you described the randomization type. I have a few comments which may be a little subjective.

[](jd:paper:org.bukkit.Particle$RandomizationType), and can be selected with
[`ParticleBuilder.randomizationType(...)`](jd:paper:com.destroystokyo.paper.ParticleBuilder#randomizationType(org.bukkit.Particle.RandomizationType)),
or by using the `spawnParticle(...)` overload that takes `speedX`, `speedY`, `speedZ` and a randomization type.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add a "The following types are available:"

Comment on lines +65 to +70
:::note
Minecraft 26.3 renamed the particle `extra` value to `speed` and split it into three axes. Use
[`ParticleBuilder.speed(double)`](jd:paper:com.destroystokyo.paper.ParticleBuilder#speed(double)) to set all axes at
once, or [`ParticleBuilder.speed(double, double, double)`](jd:paper:com.destroystokyo.paper.ParticleBuilder#speed(double,double,double))
to set each axis individually. The deprecated `ParticleBuilder.extra(...)` method is an alias for `speed(double)`.
:::

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think mentioning extra method is obsolote as the API has a @deprecated annotation which already explains the change.

@spa77k

spa77k commented Dec 6, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the review! Both are addressed in 31fe944: I added "The following types are available:" before the list and removed the sentence about the deprecated extra method.

This branch was successfully deployed

1 active deployment
Preview — 31fe9448 Deployed Dec 6, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Particle guide to 26.3

3 participants